    <include file="App/Admin/View/Public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">会员管理</span></div>
        </div>
        <div class="search-wrap">
            <!--<div class="search-content">
                <form action="{:U('Member/index')}" method="post">
                    <table class="search-tab">
                        <tr>
                            
                            <tr>   
                                    <th><i class="require-red">*</i>开始时间：</th>
                                    <td>
                            
                                    <div class="row"><div class="col-md-6">
                                                    <i class="fa fa-calendar"></i></span>
                                                    <input type="text" name="add_time" class="ui_timepicker" id="aaaaa1" placeholder="选择日期时间" value="{$list['add_time']|date='Y-m-d H:i:s',###}"  />
                                                </div></div></td>
                                  <script type="text/javascript">
                                    $(function () {
                                        var date1 = new Date();
                                        var dat = date1.toLocaleDateString()+" "+date1.getHours()+":"+date1.getMinutes()+":"+date1.getSeconds();
                                        $("#aaaaa2").val(dat);
                                        $("#aaaaa1").datetimepicker({
                                            //showOn: "button",
                                            //buttonImage: "./css/images/icon_calendar.gif",
                                            //buttonImageOnly: true, 
                                            showSecond: true,
                                            timeFormat: 'hh:mm:ss',
                                            stepHour: 1,
                                            stepMinute: 1,
                                            inputMask: true,
                                            stepSecond: 1,
                                           
                                        })
                                            $("#aaaaa2").datetimepicker({
                                            //showOn: "button",
                                            //buttonImage: "./css/images/icon_calendar.gif",
                                            //buttonImageOnly: true,
                                            showSecond: true,
                                            timeFormat: 'hh:mm:ss',
                                            stepHour: 1,
                                            stepMinute: 1,
                                            stepSecond: 1
                                        })
                                   
                                    })
                                </script>
                                    <th><i class="require-red">*</i>截止时间：</th>
                                    <td><div class="row"><div class="col-md-6">
                                                    <i class="fa fa-calendar"></i></span>
                                                    <input type="text" name="end_time" class="ui_timepicker" id="aaaaa2" placeholder="选择日期时间" value="{$list.end_time|date='Y-m-d H:i:s',###}" / >
                                                </div></div></td>
                                    <td><input class="btn btn-primary btn2" name="sub" value="下载表格" type="button" onclick="download()"></td>
                                </tr>



                        </tr>
                    </table>
                </form>
				
            </div>-->
        </div>
        <div class="result-wrap">

            <div class="result-title">
               
            </div>
            <div class="result-content">
                <table class="result-tab" width="100%">
                    <tr>
                        <th style="text-align:center;">ID</th>
                        <th style="text-align:center;">用户名</th>
                        <th style="text-align:center;">申请时间</th>
                   
                        <th style="text-align:center;">状态</th>
                        <th style="text-align:center;">操作</th>
                    </tr>
                    <volist name='list' id='vo'>
                        <tr>
                            <td align="center">{$vo['id']}</td>
                            <td align="center"> {$vo['member_id']|getMemberNameByMemberid=###}</td>
                           
                            
               
                 
                   
                           
							<td align="center">{$vo['add_time']|date='Y-m-d H:i:s',###}</td>
                            <td align="center">{$vo['status']|baodanstatus=###}
								</td>
                            <td align="center">
							<eq name="vo.status" value="1">
                                <a class="link-del" href="{:U('Member/baodan_pass',array('id'=>$vo['id']))}">申请通过</a>
								
								<a class="link-del" href="{:U('Member/baodan_no_pass',array('id'=>$vo['id']))}">申请驳回</a>
								<else/>
								已经审核
                               </eq>
                                
                            </td>
                        </tr>
                    </volist>

                </table>
                <div class="list-page"> <ul>{$page}</ul></div>
            </div>

        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(1).show();
$(".sub-menu").eq(1).children("li").eq(7).addClass("on");
</script>
<script>
function download(){
    var add_time=$('#aaaaa1').val();
    var end_time=$('#aaaaa2').val();
    var url="{:U('Member/derivedExcel')}";
    window.location.href=url+"?add_time="+add_time+"&&end_time="+end_time;
}
</script>